From ac7c6ce7dcc5084ee10e9a1c2ce839c1a92a2271 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 1 Aug 2016 11:34:35 +0100 Subject: [PATCH] xen/types: Alter typedef for bool_t As xen/stdbool.h is included, the typedef should use bool rather than _Bool. Suggested-by: Jan Beulich Signed-off-by: Andrew Cooper Acked-by: Jan Beulich --- xen/include/xen/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/types.h b/xen/include/xen/types.h index 78410decae..c8092d0716 100644 --- a/xen/include/xen/types.h +++ b/xen/include/xen/types.h @@ -61,7 +61,7 @@ typedef __u64 __be64; typedef unsigned long uintptr_t; -typedef _Bool bool_t; +typedef bool bool_t; #define test_and_set_bool(b) xchg(&(b), true) #define test_and_clear_bool(b) xchg(&(b), false) -- 2.30.2